package com.soso.confidant.util;

import java.util.ArrayList;

public class ParseString {
	public static ArrayList<String> ParseWordString(String w){
		ArrayList<String> words =  new ArrayList<String>();
		w += "+";
		while(w.length()>0){
			String word = w.substring(0, w.indexOf("+"));
			words.add(word);
			w = w.substring(w.indexOf("+")+1,w.length());
		}
		return words;
	}
	
}
